package com.wl.day74.dao;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.wl.day74.model.Books;

@MapperScan
public interface BookDAO {
    int delete(Integer bookId);

    int insert(Books record);

    int insertSelective(Books record);

    Books findById(Integer bookId);

    int updateSelective(Books record);

    int update(Books record);
    
    List<Books> findAll();
}